package com.moral.api.entity;
|
|
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
public class ResponsibilityUnit extends Model<ResponsibilityUnit> {
|
|
//责任单位id
|
private Integer unitId;
|
|
private String unitName;
|
|
private Integer areaCode;
|
|
private Integer parentCode;
|
//0是生效 1是失效
|
private Integer state;
|
//0是未删 1是以删
|
private String isDel;
|
//0是为作废 1是已作废
|
private Integer isInvalid;
|
|
private String invalidReason;
|
|
private Integer createId;
|
|
private String createName;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date createTime;
|
|
private Integer updateId;
|
|
private String updateName;
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date updateTime;
|
|
@TableField(exist = false)
|
private String areaName;
|
|
@TableField(exist = false)
|
private String parentName;
|
}
|