forked from luyan/epmet-cloud-lingshan
				
			
			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.
		
		
		
		
		
			
		
			
				
					
					
						
							50 lines
						
					
					
						
							1.2 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							50 lines
						
					
					
						
							1.2 KiB
						
					
					
				
								/**
							 | 
						|
								 * Copyright (c) 2018 人人开源 All rights reserved.
							 | 
						|
								 *
							 | 
						|
								 * https://www.renren.io
							 | 
						|
								 *
							 | 
						|
								 * 版权所有,侵权必究!
							 | 
						|
								 */
							 | 
						|
								
							 | 
						|
								package com.epmet.dto;
							 | 
						|
								
							 | 
						|
								import com.epmet.commons.tools.validator.group.AddGroup;
							 | 
						|
								import com.epmet.commons.tools.validator.group.DefaultGroup;
							 | 
						|
								import com.epmet.commons.tools.validator.group.UpdateGroup;
							 | 
						|
								import com.fasterxml.jackson.annotation.JsonProperty;
							 | 
						|
								import lombok.Data;
							 | 
						|
								
							 | 
						|
								import javax.validation.constraints.NotBlank;
							 | 
						|
								import javax.validation.constraints.NotNull;
							 | 
						|
								import javax.validation.constraints.Null;
							 | 
						|
								import java.io.Serializable;
							 | 
						|
								import java.util.Date;
							 | 
						|
								import java.util.List;
							 | 
						|
								
							 | 
						|
								/**
							 | 
						|
								 * 角色管理
							 | 
						|
								 *
							 | 
						|
								 * @author Mark sunlightcs@gmail.com
							 | 
						|
								 * @since 1.0.0
							 | 
						|
								 */
							 | 
						|
								@Data
							 | 
						|
								public class SysRoleDTO implements Serializable {
							 | 
						|
								    private static final long serialVersionUID = 1L;
							 | 
						|
								
							 | 
						|
									@Null(message="{id.null}", groups = AddGroup.class)
							 | 
						|
									@NotNull(message="{id.require}", groups = UpdateGroup.class)
							 | 
						|
									private Long id;
							 | 
						|
								
							 | 
						|
									@NotBlank(message="{sysrole.name.require}", groups = DefaultGroup.class)
							 | 
						|
									private String name;
							 | 
						|
								
							 | 
						|
									private String remark;
							 | 
						|
								
							 | 
						|
									@JsonProperty(access = JsonProperty.Access.READ_ONLY)
							 | 
						|
									private Date createDate;
							 | 
						|
								
							 | 
						|
									private List<Long> menuIdList;
							 | 
						|
								
							 | 
						|
									private List<Long> deptIdList;
							 | 
						|
								
							 | 
						|
								}
							 | 
						|
								
							 |