com.cory.model.UserRoleRel Maven / Gradle / Ivy
package com.cory.model;
import com.cory.db.annotations.Field;
import com.cory.db.annotations.Model;
import com.cory.db.enums.CoryDbType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* generated by CodeGenerator on 2017/5/10.
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Model(name = "用户角色关系", module = "base")
public class UserRoleRel extends BaseModel {
private static final long serialVersionUID = -1691736219577315246L;
@Field(label = "用户ID", type = CoryDbType.BIGINT)
private Integer userId;
@Field(label = "角色ID", type = CoryDbType.BIGINT)
private Integer roleId;
}