| | |
| | | import com.fasterxml.jackson.annotation.JsonIgnore; |
| | | |
| | | /** |
| | | * 课程、视频、讲义记录传播轨迹 |
| | | * 课程、视频、讲义记录传播轨迹 |
| | | * |
| | | * @author lihanqi |
| | | * |
| | |
| | | |
| | | private static final long serialVersionUID = 5843514289817382614L; |
| | | |
| | | /** 操作类型:查看 */ |
| | | /** 操作类型:查看 */ |
| | | public static final short TYPE_VIEW = 1; |
| | | |
| | | /** 操作类型:分享 */ |
| | | /** 操作类型:分享 */ |
| | | public static final short TYPE_SHARE = 2; |
| | | |
| | | /** 操作类型:报名 */ |
| | | /** 操作类型:报名 */ |
| | | public static final short TYPE_SIGNUP = 3; |
| | | |
| | | /** 操作类型:支付 */ |
| | | /** 操作类型:支付 */ |
| | | public static final short TYPE_PAY = 4; |
| | | |
| | | |
| | | /** 对象类型:课程 */ |
| | | /** 对象类型:课程 */ |
| | | public static final short OBJECT_TYPE_CLASS = 1; |
| | | |
| | | /** 对象类型:视频 */ |
| | | /** 对象类型:视频 */ |
| | | public static final short OBJECT_TYPE_VIDEO = 2; |
| | | |
| | | /** 对象类型:讲义 */ |
| | | /** 对象类型:讲义 */ |
| | | public static final short OBJECT_TYPE_HANDOUT = 3; |
| | | |
| | | /** 对象类型:分享 */ |
| | | /** 对象类型:分享 */ |
| | | public static final short OBJECT_TYPE_SHARE = 4; |
| | | |
| | | |
| | | /** 主键 */ |
| | | /** 主键 */ |
| | | @Id |
| | | @GeneratedValue(generator = "hibernate-uuid") |
| | | @GenericGenerator(name = "hibernate-uuid", strategy = "uuid") |
| | | @Column(name = "SPREAD_ID", unique = true, nullable = false, length = 32) |
| | | private String spreadId; |
| | | |
| | | /**类型 */ |
| | | /**类型 */ |
| | | @Column(name = "TYPE", precision = 2) |
| | | private short type; |
| | | |
| | | /** 操作时间 */ |
| | | /** 操作时间 */ |
| | | @Column(name="OPERATION_TIME", nullable=false) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonIgnore |
| | | private Date operationTime; |
| | | |
| | | /** ip地址*/ |
| | | /** ip地址*/ |
| | | @Column(name = "IP", length = 50) |
| | | private String ip; |
| | | |
| | | /** 扩展*/ |
| | | /** 扩展*/ |
| | | @Column(name = "CONTENT", length = 100) |
| | | private String content; |
| | | |
| | | /** 操作用户*/ |
| | | /** 操作用户*/ |
| | | @Column(name = "USER_ID", length = 32) |
| | | private String userId; |
| | | |
| | | /** 操作用户名称*/ |
| | | /** 操作用户名称*/ |
| | | @Column(name = "USER_NAME", length = 128) |
| | | private String userName; |
| | | |
| | | /** 请求头信息*/ |
| | | /** 请求头信息*/ |
| | | @Column(name = "user_agent", length = 255) |
| | | private String userAgent; |
| | | |
| | | /** 机型*/ |
| | | /** 机型*/ |
| | | @Column(name = "MODEL", length = 64) |
| | | private String model; |
| | | |
| | | /** 对象类型*/ |
| | | /** 对象类型*/ |
| | | @Column(name = "OBJECT_TYPE", precision = 2) |
| | | private short objectType; |
| | | |
| | | /** 对象类型Id*/ |
| | | /** 对象类型Id*/ |
| | | @Column(name = "OBJECT_ID", length = 32) |
| | | private String objectId; |
| | | |
| | | /** 微信openId*/ |
| | | /** 微信openId*/ |
| | | @Column(name = "OPEN_ID", length = 50) |
| | | private String openId; |
| | | |
| | | /** 创建时间 */ |
| | | /** 创建时间 */ |
| | | @Column(name="CREATE_TIME", nullable=false) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonIgnore |
| | | private Date createTime; |
| | | |
| | | /** 修改时间 */ |
| | | /** 修改时间 */ |
| | | @Column(name="UPDATE_TIME", nullable=false) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonIgnore |
| | | private Date updateTime; |
| | | |
| | | /** 创建人 */ |
| | | /** 创建人 */ |
| | | @Column(name="CREATOR", nullable=false, length=100) |
| | | @JsonIgnore |
| | | private String creator; |
| | | |
| | | /** 创建人ID */ |
| | | /** 创建人ID */ |
| | | @Column(name="CREATE_ID", nullable=false, length=32) |
| | | @JsonIgnore |
| | | private String createId; |
| | | |
| | | /** 修改人 */ |
| | | /** 修改人 */ |
| | | @Column(name="UPDATOR", length=100) |
| | | @JsonIgnore |
| | | private String updator; |
| | | |
| | | /** 修改人ID */ |
| | | /** 修改人ID */ |
| | | @Column(name="UPDATE_ID", length=32) |
| | | @JsonIgnore |
| | | private String updateId; |
| | | |
| | | /** 删除标志 */ |
| | | /** 删除标志 */ |
| | | @Column(name="DELETE_FLAG", nullable=false) |
| | | @JsonIgnore |
| | | private boolean deleteFlag; |