package org.jeecg.modules.system.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import org.jeecgframework.poi.excel.annotation.Excel; import java.io.Serializable; import java.util.Date; /** * @Description: 业务编码规则 * @Author: jeecg-boot * @Date: 2025-03-17 * @Version: V1.0 */ @Data @TableName("sys_business_code_rule") @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) @ApiModel(value="sys_business_code_rule对象", description="业务编码规则") public class SysBusinessCodeRule implements Serializable { /**主键*/ @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value = "主键") private String id; /**创建人*/ @Excel(name = "创建人", width = 15) @ApiModelProperty(value = "创建人") private String createBy; /**创建时间*/ @ApiModelProperty(value = "创建时间") private Date createTime; /**更新人*/ @Excel(name = "更新人", width = 15) @ApiModelProperty(value = "更新人") private String updateBy; /**更新时间*/ @ApiModelProperty(value = "更新时间") private Date updateTime; /**删除标记*/ @Excel(name = "删除标记", width = 15) @ApiModelProperty(value = "删除标记") private Integer delFlag; /**业务名称*/ @Excel(name = "业务名称", width = 15) @ApiModelProperty(value = "业务名称") private String businessName; /**业务编码*/ @Excel(name = "业务编码", width = 15) @ApiModelProperty(value = "业务编码") private String businessCode; /**编码前缀*/ @Excel(name = "编码前缀", width = 15) @ApiModelProperty(value = "编码前缀") private String prefix; /**年份编码格式*/ @Excel(name = "年份编码格式", width = 15) @ApiModelProperty(value = "年份编码格式") private String yearFormat; /**月份编码格式*/ @Excel(name = "月份编码格式", width = 15) @ApiModelProperty(value = "月份编码格式") private String monthFormat; /**天 编码格式*/ @Excel(name = "天编码格式", width = 15) @ApiModelProperty(value = "天编码格式") private String dayFormat; /**序号长度*/ @Excel(name = "序号长度", width = 15) @ApiModelProperty(value = "序号长度") private Integer seqLength; }