package cn.ey.biz.module.system.dal.dataobject.contract;

import cn.ey.biz.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import javax.validation.constraints.Size;

/**
 * Contract DO
 */
@TableName(value = "system_contract", autoResultMap = true)
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ContractDO extends BaseDO {

    @TableId
    private Long id;

    /**
     * 业务线
     */
    private String sl;


    private String slType;

    /**
     * 类型
     */
    private String type;

    /**
     * 项目类型
     */
    private String projectType;

    /**
     * 数组结构信息 Json
     */
    @Size(max = 20000, message = "JSON长度不能超过20000个字符")
    private String array;
}
