package cn.superdesk.uniorder.dto.dubbo.sys.role;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * 角色定义-扩展-数据权限主体描述-只能是单个项目或是项目下的企业
 *
 * @author linjinyu
 * @email linjinyu@avic-s.com
 * @date 2020-08-26 14:15:28
 */
@Data
@ToString
public class SysRoleExtDataSampleParam implements Serializable {

	@ApiModelProperty("")
	private Long    id;
	@ApiModelProperty("不用传")
	private String  serviceNo;
	@ApiModelProperty("不用传")
	private String  serviceName;
	/**
	 * SysRoleExtDataSampleSourceFromEnum
	 *  统一订单(1, "system", "统一订单"),
	 * 	服务之窗(100, "superdesk-app", "服务之窗"),
	 * 	企业采购(200, "superdesk-mall", "企业采购"),
	 */
	@ApiModelProperty("来源-Code 弃 key :数据权限角色 来源:1-system;100-superdesk-app;200-superdesk-mall; ")
	private String  sourceFrom;
//	@ApiModelProperty("来源-Code")
//	private String  sourceFromCode;
	@ApiModelProperty("来源-名称")
	private String  sourceFromName;


	@ApiModelProperty("许可时间 开始")
	private Date    permitStartTime;
	@ApiModelProperty("许可时间 结束")
	private Date    permitEndTime;
	@ApiModelProperty("是否关联企业 0:未关联1:已关联	")
	private Integer isBindVirt;


	@ApiModelProperty("统一订单 项目ID")
	private Long    sysOrgId;
	@ApiModelProperty("服务之窗 项目ID")
	private Long    outOrgId;


	@ApiModelProperty("统一订单 企业 ids")
	private String  sysVirtIds;
	@ApiModelProperty("第三方 企业 (服务之窗) ids")
	private String  outVirtIds;

	@ApiModelProperty("")
	private String outOrgNames;
	@ApiModelProperty("")
	private String outVirtNames;


	@ApiModelProperty("")
	private Integer deleted;
	@ApiModelProperty("")
	private Date    createTime;
	@ApiModelProperty("")
	private Long    createUserId;
	@ApiModelProperty("")
	private String    createUserName;
	@ApiModelProperty("")
	private Date    updateTime;
	@ApiModelProperty("")
	private Long    updateUserId;


}
