package org.jeecg.modules.base.entity;
|
|
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 com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 编码规则详情表
|
* </p>
|
*
|
* @Author cuijian
|
* @since 2022-11-03
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@TableName("mom_base_encode_rule_detail")
|
@Accessors(chain = true)
|
public class EncodeRuleDetail implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
*/
|
@TableId(type = IdType.ASSIGN_ID)
|
private String id;
|
|
/**
|
* 编码规则id
|
*/
|
private String codeRuleId;
|
|
/**
|
* 编码要素
|
*/
|
private String codeElement;
|
|
/**
|
* 长度
|
*/
|
private Integer length;
|
|
/**
|
* 要素值
|
*/
|
private String elementValue;
|
|
/**
|
* 顺序
|
*/
|
private Integer sequence;
|
|
|
/**
|
* 创建人
|
*/
|
private String createBy;
|
|
/**
|
* 创建时间
|
*/
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
/**
|
* 更新人
|
*/
|
private String updateBy;
|
|
/**
|
* 更新时间
|
*/
|
private Date updateTime;
|
|
/**
|
* 状态,0:正常,1:删除
|
*/
|
private String delFlag;
|
|
//备注
|
private String remark;
|
|
/**
|
* 时间格式
|
*/
|
private String timeFormat;
|
|
/**
|
* 编码要素名称
|
*/
|
@TableField(exist = false)
|
private String codeElementName;
|
|
}
|