forked from rongchao/epmet-cloud-rizhao
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
1.7 KiB
94 lines
1.7 KiB
package com.epmet.dto;
|
|
|
|
import com.epmet.dto.form.ScopeSaveFormDTO;
|
|
import lombok.Data;
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
|
|
|
|
/**
|
|
* 数据更新范围表
|
|
*
|
|
* @author generator generator@elink-cn.com
|
|
* @since v1.0.0 2022-09-26
|
|
*/
|
|
@Data
|
|
public class DataSyncScopeDTO implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/**
|
|
* 主键
|
|
*/
|
|
private String id;
|
|
|
|
/**
|
|
* 客户ID。如果该角色由客户定制,其下的机关和部门都不再各自定制自己的角色,这个字段会比较有用。包括通用角色以及客户定制角色。
|
|
*/
|
|
private String customerId;
|
|
|
|
/**
|
|
* 数据更新配置表主键
|
|
*/
|
|
private String dataSyncConfigId;
|
|
|
|
/**
|
|
* 网格:grid,
|
|
社区级:community,
|
|
乡(镇、街道)级:street,
|
|
区县级: district,
|
|
市级: city
|
|
省级:province
|
|
*/
|
|
@NotBlank(message = "orgType不能为空",groups = ScopeSaveFormDTO.ScopeSaveForm.class)
|
|
private String orgType;
|
|
|
|
/**
|
|
* 组织或者网格id
|
|
*/
|
|
@NotBlank(message = "orgId不能为空",groups = ScopeSaveFormDTO.ScopeSaveForm.class)
|
|
private String orgId;
|
|
|
|
/**
|
|
* org_id的上级
|
|
*/
|
|
private String pid;
|
|
|
|
/**
|
|
* org_id的全路径,包含自身
|
|
*/
|
|
private String orgIdPath;
|
|
|
|
/**
|
|
* 删除标识:0.未删除 1.已删除
|
|
*/
|
|
private Integer delFlag;
|
|
|
|
/**
|
|
* 乐观锁
|
|
*/
|
|
private Integer revision;
|
|
|
|
/**
|
|
* 创建人
|
|
*/
|
|
private String createdBy;
|
|
|
|
/**
|
|
* 创建时间
|
|
*/
|
|
private Date createdTime;
|
|
|
|
/**
|
|
* 更新人
|
|
*/
|
|
private String updatedBy;
|
|
|
|
/**
|
|
* 更新时间
|
|
*/
|
|
private Date updatedTime;
|
|
|
|
}
|