| | |
| | | import javax.validation.constraints.NotNull; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import com.panzhihua.common.model.vos.community.ComActVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngStructAreaVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngStructHouseVO; |
| | |
| | | public class LoginUserInfoVO { |
| | | |
| | | @ApiModelProperty("user_id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long userId; |
| | | |
| | | @ApiModelProperty("微信会话密钥") |
| | |
| | | @ApiModelProperty("社区id") |
| | | @Min(value = 1, groups = {PutGroup.class}, message = "社区id不能为空") |
| | | @NotNull(groups = {PutGroup.class}, message = "社区id不能为空") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long communityId; |
| | | |
| | | @ApiModelProperty("社区名字") |
| | |
| | | private String tags; |
| | | |
| | | @ApiModelProperty("家庭id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long familyId; |
| | | |
| | | @ApiModelProperty(value = "分页每页数量", example = "10") |
| | |
| | | private List<ComMngStructHouseVO> comMngStructHouseVOS; |
| | | |
| | | @ApiModelProperty("用户小区id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | // @Min(value = 1,groups = {PutGroup.class},message = "用户小区id不能为空") |
| | | // @NotNull(groups = {PutGroup.class},message = "用户小区id不能为空") |
| | | private Long areaId; |
| | |
| | | @ApiModelProperty("是否物业工作人员 1.是 2.否") |
| | | private Integer isPropertyWorker; |
| | | |
| | | @ApiModelProperty("是否微团队成员 1.是 2.否") |
| | | private Integer isFmsMember; |
| | | @ApiModelProperty("是否网格员 1.是 2.否") |
| | | private Integer isEasyPhotoMember; |
| | | @ApiModelProperty("是否社会组织联系人 1.是 2.否") |
| | | private Integer isOrgContactPeople; |
| | | |
| | | @ApiModelProperty("是否人大代表成员 1.是 2.否") |
| | | private Integer isDpcMember; |
| | | @ApiModelProperty("appid") |
| | | private String appId; |
| | | @ApiModelProperty("appSecret") |
| | |
| | | @ApiModelProperty("areaCode") |
| | | private String areaCode; |
| | | @ApiModelProperty("街道id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long streetId; |
| | | |
| | | @ApiModelProperty("账号类型 1街道 2社区 3社会组织") |
| | | private Integer userType; |
| | | |
| | | @ApiModelProperty("社会组织Id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long orgId; |
| | | |
| | | @ApiModelProperty("是否是防疫工作人员 1.是 2.否") |
| | | private Integer isAcidMember; |
| | | |
| | | @ApiModelProperty("绑定单位") |
| | | private String relationName; |
| | | |
| | | @ApiModelProperty("区域划分") |
| | | private String areaName; |
| | | |
| | | @ApiModelProperty("是否单位管理员 1是 0否") |
| | | private Integer isCheckUnitAdmin; |
| | | |
| | | @ApiModelProperty("报道单位id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long checkUnitId; |
| | | |
| | | private Long bindingCheckUnitId; |
| | | |
| | | private Integer backstageType; |
| | | |
| | | |
| | | public String retrieveRelationName() { |
| | | return this.type == 3 ? relationName : name; |
| | | } |
| | | } |