HtzzAdminZzda.java 2.93 KB
Newer Older
yuquan.zhu committed
1 2 3
package cn.timer.api.bean.htzz;

import java.util.Date;
ilal committed
4 5 6 7 8 9 10
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
yuquan.zhu committed
11 12 13 14 15 16 17

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

ilal committed
18
import cn.timer.api.dto.htzz.NotifyPersonDto;
yuquan.zhu committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author dsc 2019-12-04
 */
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "htzz_admin_zzda")
@ApiModel("合同证照档案表")
public class HtzzAdminZzda extends Model<HtzzAdminZzda> {

	private static final long serialVersionUID = 7917787062761005000L;

	@Id
	@GeneratedValue
	@TableId(type = IdType.AUTO)
	@ApiModelProperty(value = "编号", example = "101")
	private Integer id;

	@ApiModelProperty(value = "证件名称 ", example = "证件名称")
	private String zjmc;
	
	@ApiModelProperty(value = "证件编号 ", example = "证件编号")
	private String zjbh;

	@ApiModelProperty(value = "持证人 ", example = "持证人")
	private String czry;

	@ApiModelProperty(value = "持证人电话 ", example = "持证人电话")
	private String czrdh;

	@ApiModelProperty(value = "发证机构 ", example = "发证机构")
	private String fzjg;

	@ApiModelProperty(value = "发证日期 ", example = "发证日期")
	private Date fzrq;

	@ApiModelProperty(value = "有效期开始日 ", example = "有效期开始日")
	private Date yxksr;

	@ApiModelProperty(value = "有效期到期日 ", example = "有效期到期日")
	private Date yxdqr;

	@ApiModelProperty(value = "提醒开关", example = "0 关 1开")
	private Integer txkgType;

	@ApiModelProperty(value = "证件附件 ", example = "证件附件")
	private String zjfj;

	@ApiModelProperty(value = "录入人--用户id", example = "101")
	private Integer lrrid;

	@TableField(fill = FieldFill.INSERT)
	@ApiModelProperty(value = "录入时间 ", example = "录入时间")
	private Date lrsjTime;

	@ApiModelProperty(value = "公司id", example = "101")
	private Integer orgCode;
	
	@ApiModelProperty(value = "是否删除", example = "0-否  1-是")
	private Integer isDelete;
	
ilal committed
89 90 91 92 93 94
	@ApiModelProperty(value = "消息模板id", example = "1")
	private Integer templateId;
	
	@ApiModelProperty(value = "0:未发;1:已发", example = "0")
	private Integer sendingStatus;
	
ilal committed
95 96 97
	@ApiModelProperty(value = "1:合同;2:证照", example = "1")
	private Integer documentType;
	
ilal committed
98 99 100 101
	@Transient
	@TableField(exist = false)
	private List<NotifyPersonDto> ids;
	
yuquan.zhu committed
102 103
	@Transient
	@TableField(exist = false)
ilal committed
104
	private HtzzAssoZztx zztx;
yuquan.zhu committed
105 106 107 108
	
	

}