123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- package com.ruoyi.system.domain;
- import com.ruoyi.common.core.annotation.Excel;
- import com.ruoyi.common.datascope.base.domain.BaseBusinessEntity;
- import io.swagger.annotations.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import lombok.Data;
- import org.apache.commons.lang3.builder.ToStringBuilder;
- import org.apache.commons.lang3.builder.ToStringStyle;
- import javax.validation.constraints.NotBlank;
- /**
- * 通讯录对象 centerdata_t_communication
- *
- * @author ruoyi
- * @date 2022-06-20
- */
- @Data
- @ApiModel(description = "数据中心通讯录实体类对象")
- public class CenterdataTCommunication extends BaseBusinessEntity {
- private static final long serialVersionUID = 1L;
- /**
- * 主键id
- */
- @ApiModelProperty(value = "主键id", required = false)
- private String id;
- /**
- * 姓名
- */
- @ApiModelProperty(value = "姓名", required = false)
- @Excel(name = "姓名")
- @NotBlank(message = "姓名不能为空")
- private String name;
- /**
- * 性别
- */
- @ApiModelProperty(value = "性别", required = false)
- // @Excel(name = "性别")
- private String sex;
- /**
- * 电话
- */
- @ApiModelProperty(value = "电话", required = false)
- @Excel(name = "电话")
- private String phone;
- /**
- * 手机
- */
- @ApiModelProperty(value = "手机", required = false)
- @Excel(name = "手机")
- @NotBlank(message = "手机不能为空")
- private String mobile;
- /**
- * 地址
- */
- @ApiModelProperty(value = "地址", required = false)
- @Excel(name = "地址")
- private String address;
- /**
- * 拼音首字母
- */
- @ApiModelProperty(value = "拼音首字母", required = false)
- @Excel(name = "拼音首字母")
- private String firstLetter;
- /**
- * 拼音全拼
- */
- @ApiModelProperty(value = "拼音全拼", required = false)
- @Excel(name = "拼音全拼")
- private String pinyin;
- /**
- * 部门id
- */
- @ApiModelProperty(value = "部门id", required = false)
- private Long deptId;
- /**
- * 所属部门
- */
- @ApiModelProperty(value = "所属部门", required = false)
- @Excel(name = "所属部门")
- @NotBlank(message = "所属部门不能为空")
- private String deptName;
- /**
- * 数据状态(1-可用 2-不可用 )
- */
- // @Excel(name = "数据状态(1-可用 2-不可用 )")
- private String dataStatus;
- /**
- * 手机端模糊查询
- */
- @ApiModelProperty(value = "模糊查询条件", required = false)
- private String selectParam;
- @Excel(name = "发布状态", dictType = "centerdata_release_status")
- private String releaseStatus;
- private String[] ids;
- @Override
- public String toString() {
- return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
- .append("id", getId())
- .append("name", getName())
- .append("sex", getSex())
- .append("phone", getPhone())
- .append("mobile", getMobile())
- .append("address", getAddress())
- .append("firstLetter", getFirstLetter())
- .append("pinyin", getPinyin())
- .append("deptId", getDeptId())
- .append("deptName", getDeptName())
- .append("dataStatus", getDataStatus())
- .append("createBy", getCreateBy())
- .append("createName", getCreateName())
- .append("createTime", getCreateTime())
- .append("updateBy", getUpdateBy())
- .append("updateName", getUpdateName())
- .append("updateTime", getUpdateTime())
- .append("selectParam",getSelectParam())
- .append("ids",getIds())
- .append("releaseStatus",getReleaseStatus())
- .toString();
- }
- }
|