package cn.stylefeng.team.project.modular.filing.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@TableName("bev_prod_filing_list")
@Data
@EqualsAndHashCode(callSuper = true)
public class BevProdFilingList extends BaseEntity {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ChineseDescription("主键id")
    private Long id;

    @TableField("main_title")
    @ChineseDescription("主标题")
    private String mainTitle;

    @TableField("sub_title")
    @ChineseDescription("副标题")
    private String subTitle;

    @TableField("filing_no")
    @ChineseDescription("编号，例如：PD-FM-01（WA08）")
    private String filingNo;

    @TableField("filing_version")
    @ChineseDescription("版本")
    private String filingVersion;

    @TableField("business_id")
    @ChineseDescription("关联的业务设计的id")
    private Long businessId;

    @TableField("fld_sort")
    @ChineseDescription("排序")
    private BigDecimal fldSort;

}