forked from rongchao/epmet-cloud-rizhao
54 changed files with 827 additions and 354 deletions
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
import java.time.LocalDate; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/11/23 10:42 上午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class AppointmentRecordFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 2021698309505676292L; |
||||
|
|
||||
|
public interface AppointmentRecordForm{} |
||||
|
|
||||
|
@NotBlank(message = "matterId不能为空",groups = AppointmentRecordForm.class) |
||||
|
private String matterId; |
||||
|
|
||||
|
@NotBlank(message = "date不能为空",groups = AppointmentRecordForm.class) |
||||
|
private String date; |
||||
|
|
||||
|
public AppointmentRecordFormDTO() { |
||||
|
this.date = LocalDate.now().toString(); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,28 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import com.epmet.commons.tools.constant.NumConstant; |
||||
|
import com.fasterxml.jackson.annotation.JsonIgnore; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/11/23 10:45 上午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class AppointmentExistRecordResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 6651436509788141940L; |
||||
|
|
||||
|
/** |
||||
|
* 事项名 |
||||
|
*/ |
||||
|
private String matterName; |
||||
|
|
||||
|
private String matterId; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,59 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import com.epmet.commons.tools.constant.NumConstant; |
||||
|
import com.fasterxml.jackson.annotation.JsonIgnore; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/11/23 10:45 上午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class AppointmentRecordResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 6066514365788141940L; |
||||
|
|
||||
|
private Integer sort; |
||||
|
|
||||
|
/** |
||||
|
* 事项名 |
||||
|
*/ |
||||
|
private String matterName; |
||||
|
|
||||
|
/** |
||||
|
* 预约人 |
||||
|
*/ |
||||
|
private String appointmentName; |
||||
|
|
||||
|
/** |
||||
|
* 预约电话 |
||||
|
*/ |
||||
|
private String appointmentPhone; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String remark; |
||||
|
|
||||
|
/** |
||||
|
* 预约时间 |
||||
|
*/ |
||||
|
private List<String> appointmentTime; |
||||
|
|
||||
|
@JsonIgnore |
||||
|
private String timeId; |
||||
|
|
||||
|
public AppointmentRecordResultDTO() { |
||||
|
this.sort = NumConstant.ZERO; |
||||
|
this.matterName = ""; |
||||
|
this.appointmentName = ""; |
||||
|
this.appointmentPhone = ""; |
||||
|
this.remark = ""; |
||||
|
this.appointmentTime = new ArrayList<>(); |
||||
|
} |
||||
|
} |
||||
@ -1,107 +0,0 @@ |
|||||
/** |
|
||||
* Copyright 2018 人人开源 https://www.renren.io
|
|
||||
* <p> |
|
||||
* This program is free software: you can redistribute it and/or modify |
|
||||
* it under the terms of the GNU General Public License as published by |
|
||||
* the Free Software Foundation, either version 3 of the License, or |
|
||||
* (at your option) any later version. |
|
||||
* <p> |
|
||||
* This program is distributed in the hope that it will be useful, |
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
||||
* GNU General Public License for more details. |
|
||||
* <p> |
|
||||
* You should have received a copy of the GNU General Public License |
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||
*/ |
|
||||
|
|
||||
package com.epmet.dto; |
|
||||
|
|
||||
import lombok.Data; |
|
||||
|
|
||||
import java.io.Serializable; |
|
||||
import java.util.Date; |
|
||||
|
|
||||
|
|
||||
/** |
|
||||
* 居民需求字典表 |
|
||||
* |
|
||||
* @author generator generator@elink-cn.com |
|
||||
* @since v1.0.0 2021-10-27 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class IcResiDemandDictDTO implements Serializable { |
|
||||
|
|
||||
private static final long serialVersionUID = 1L; |
|
||||
|
|
||||
/** |
|
||||
* 唯一标识 |
|
||||
*/ |
|
||||
private String id; |
|
||||
|
|
||||
/** |
|
||||
* 客户Id customer.id |
|
||||
*/ |
|
||||
private String customerId; |
|
||||
|
|
||||
/** |
|
||||
* 父级 |
|
||||
*/ |
|
||||
private String parentCode; |
|
||||
|
|
||||
/** |
|
||||
* 字典值 |
|
||||
*/ |
|
||||
private String categoryCode; |
|
||||
|
|
||||
/** |
|
||||
* 字典描述 |
|
||||
*/ |
|
||||
private String categoryName; |
|
||||
|
|
||||
/** |
|
||||
* 级别 |
|
||||
*/ |
|
||||
private String level; |
|
||||
|
|
||||
/** |
|
||||
* 备注 |
|
||||
*/ |
|
||||
private String remark; |
|
||||
|
|
||||
/** |
|
||||
* 排序 |
|
||||
*/ |
|
||||
private Integer sort; |
|
||||
|
|
||||
/** |
|
||||
* 删除标识:0.未删除 1.已删除 |
|
||||
*/ |
|
||||
private Integer delFlag; |
|
||||
|
|
||||
/** |
|
||||
* 乐观锁 |
|
||||
*/ |
|
||||
private Integer revision; |
|
||||
|
|
||||
/** |
|
||||
* 创建人 |
|
||||
*/ |
|
||||
private String createdBy; |
|
||||
|
|
||||
/** |
|
||||
* 创建时间 |
|
||||
*/ |
|
||||
private Date createdTime; |
|
||||
|
|
||||
/** |
|
||||
* 更新人 |
|
||||
*/ |
|
||||
private String updatedBy; |
|
||||
|
|
||||
/** |
|
||||
* 更新时间 |
|
||||
*/ |
|
||||
private Date updatedTime; |
|
||||
|
|
||||
} |
|
||||
Loading…
Reference in new issue