package com.bocloud.ims.entity.topology;

import com.bocloud.entity.annotations.Column;
import com.bocloud.entity.annotations.PK;
import com.bocloud.entity.annotations.Table;
import com.bocloud.entity.bean.Generic;
import com.bocloud.entity.meta.PKStrategy;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author liuyuanyuan
 * @since 2017年12月6日
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Table("ci_instance_grid")
public class InstanceGrid extends Generic {
    @PK(value = PKStrategy.AUTO)
    private Long id;
    @Column("instance_id")
    private Long instanceId;
    @Column("property_id")
    private Long propertyId;
    @Column("property_code")
    private String propertyCode;
    @Column("desc1")
    private String desc1;
    @Column("desc2")
    private String desc2;
    @Column("desc3")
    private String desc3;
    @Column("desc4")
    private String desc4;
    @Column("desc5")
    private String desc5;
    @Column("desc6")
    private String desc6;
    @Column("desc7")
    private String desc7;
    @Column("desc8")
    private String desc8;
    @Column("desc9")
    private String desc9;
    @Column("desc10")
    private String desc10;
    @Column("desc11")
    private String desc11;
    @Column("desc12")
    private String desc12;
    @Column("desc13")
    private String desc13;
    @Column("desc14")
    private String desc14;
    @Column("desc15")
    private String desc15;
    @Column("desc16")
    private String desc16;
    @Column("desc17")
    private String desc17;
    @Column("desc18")
    private String desc18;
    @Column("desc19")
    private String desc19;
    @Column("desc20")
    private String desc20;
    @Column("desc21")
    private String desc21;
    @Column("desc22")
    private String desc22;
    @Column("desc23")
    private String desc23;
    @Column("desc24")
    private String desc24;
    @Column("desc25")
    private String desc25;
    @Column("desc26")
    private String desc26;
    @Column("desc27")
    private String desc27;
    @Column("desc28")
    private String desc28;
    @Column("desc29")
    private String desc29;
    @Column("desc30")
    private String desc30;

    public InstanceGrid(Long propertyId, String propertyCode) {
        super();
        this.propertyId = propertyId;
        this.propertyCode = propertyCode;
    }

}
