Browse Source

新增物业表和物业分数相关DTO

master
zhangyuan 5 years ago
parent
commit
cc3b39d533
  1. 86
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/project/PropertyDTO.java
  2. 5
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/project/PropertyProjectDTO.java
  3. 92
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/project/PropertyProjectScoreDTO.java
  4. 46
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/project/result/PropertyDictListResultDTO.java

86
epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/project/PropertyDTO.java

@ -0,0 +1,86 @@
/**
* 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.elink.esua.epdc.dto.project;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 物业表
*
* @author zhangyuan qu@elink-cn.com
* @since v1.0.0 2020-05-20
*/
@Data
public class PropertyDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
private String id;
/**
* 物业名称
*/
private String propertyName;
/**
* 物业编码
*/
private String propertyCode;
/**
* 是否有效(0-1-)
*/
private String effectiveFlag;
/**
* 乐观锁
*/
private Integer revision;
/**
* 删除标记(0-1-)
*/
private String delFlag;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
}

5
epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/project/PropertyProjectDTO.java

@ -53,6 +53,11 @@ public class PropertyProjectDTO implements Serializable {
*/
private String projectName;
/**
* 物业id
*/
private String propertyId;
/**
* 物业名称
*/

92
epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/project/PropertyProjectScoreDTO.java

@ -0,0 +1,92 @@
/**
* 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.elink.esua.epdc.dto.project;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import java.math.BigDecimal;
/**
* 物业项目得分表
*
* @author zhangyuan qu@elink-cn.com
* @since v1.0.0 2020-05-20
*/
@Data
public class PropertyProjectScoreDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
private String id;
/**
* 物业项目ID
*/
private String projectId;
/**
* 物业ID
*/
private String propertyId;
/**
* 用户ID
*/
private String userId;
/**
* 得分
*/
private BigDecimal score;
/**
* 乐观锁
*/
private Integer revision;
/**
* 删除标记(0-1-)
*/
private String delFlag;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
}

46
epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/project/result/PropertyDictListResultDTO.java

@ -0,0 +1,46 @@
/**
* 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.elink.esua.epdc.dto.project.result;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 物业表
*
* @author zhangyuan qu@elink-cn.com
* @since v1.0.0 2020-05-20
*/
@Data
public class PropertyDictListResultDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
private String dictValue;
/**
* 物业名称
*/
private String dictName;
}
Loading…
Cancel
Save