package com.tuoheng.model.param;

import com.tuoheng.model.entity.TenantItem;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author chenjiandong
 * @description: TODO
 * @date 2022/12/8 10:16
 */
@Data
public class CreateClientTenantDto {
    /**
     * 租户id
     */
    private Long id;

    @NotEmpty(message = "username can not be empty!")
    private String username;

    private String password;

    private String remark;

    @NotNull(message = "clientRoleDtoList can not be null!")
    private List<ClientRoleDto> clientRoleDtoList;
    /**
     * 租户名称
     */
    private String tenantName;
    /**
     * 租户code
     */
    private String tenantCode;
    /**
     * 省级编码
     */
    private String provinceCode;
    /**
     * 省份名称
     */
    private String provinceName;
    /**
     * 市区编号
     */
    private String cityCode;
    /**
     * 市区名称
     */
    private String cityName;
    /**
     * 区县编号
     */
    private String districtCode;
    /**
     * 区县名称
     */
    private String districtName;
    /**
     * 租户对应项目基本信息
     */
    private TenantItem tenantItem;

    private String customer;

    private String customerPhone;

    private String adress;

    private String lng;

    private String lat;
    /**
     * 1 启用  0禁用
     */
    private Integer status;
}
