package org.springblade.modules.dispatcher.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 org.springframework.format.annotation.DateTimeFormat;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 派遣单位实体类
|
*
|
* @author zhongrj
|
* @since 2021-07-07
|
*/
|
@Data
|
@TableName("sys_dispatcher_unit")
|
public class DispatcherUnit implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 派遣单位名称
|
*/
|
private String name;
|
|
/**
|
* 部门id
|
*/
|
@TableField("dept_id")
|
private Long deptId;
|
|
/**
|
* 联系人
|
*/
|
private String linkman;
|
|
/**
|
* 联系电话
|
*/
|
private String phone;
|
|
/**
|
* 省
|
*/
|
private Integer province;
|
|
/**
|
* 市
|
*/
|
private Integer city;
|
|
/**
|
* 区 (暂时用作派遣单位类型使用,学校,医院等)
|
*/
|
private Integer district;
|
|
/**
|
* 详细地址
|
*/
|
private String address;
|
|
/**
|
* 创建时间
|
*/
|
@TableField("create_time")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
/**
|
* 行政区id
|
*/
|
private Long jurisdiction;
|
|
/**
|
* 合同生效时间
|
*/
|
@TableField("start_time")
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date startTime;
|
|
|
|
/**
|
* 合同到期时间
|
*/
|
@TableField("end_time")
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date endTime;
|
|
/**
|
* 保安服务类型
|
*/
|
@TableField("serve_type")
|
private String serveType;
|
|
/**
|
* 负责人(保安公司人员)
|
*/
|
@TableField("security_linkman")
|
private String securityLinkman;
|
|
/**
|
* 负责人电话
|
*/
|
private String cell;
|
|
/**
|
* 派遣人数
|
*/
|
private Integer num;
|
|
|
}
|