| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- /**
- *
- */
- package com.xcgl.weeklyschedule.entity;
- import java.util.Date;
- import org.jeecgframework.core.constant.Globals;
- /**
- * @author xzx
- *
- * 2019年1月5日
- *
- */
- public class WeeklyScheduleDayDto implements Comparable<WeeklyScheduleDayDto> {
-
- private String id;
- private Date date;
-
- private String weekDay;
-
- private String whatAmZjl;
-
- private String whatAm;
-
- private String whatPmZjl;
-
- private String whatPm;
-
- private String whoIdsAm;
-
- private String whoNamesAm;
-
- private String whereAm;
-
- private String remarkAm;
-
- private String whoIdsPm;
-
- private String whoNamesPm;
-
- private String wherePm;
-
- private String remarkPm;
-
- private String userid;
-
- private int showIndex;
-
- private String result;
-
-
- public static int INDEX_AM_ZJB = 0;
-
- public static int INDEX_AM_PERSON = 1;
-
- public static int INDEX_PM_ZJB = 2;
-
- public static int INDEX_PM_PERSON = 3;
-
-
- public String getId() {
- return id;
- }
- public void setId(String id) {
- this.id = id;
- }
- public String getResult() {
- return result;
- }
- public void setResult(String result) {
- this.result = result;
- }
- public String getUserid() {
- return userid;
- }
- public void setUserid(String userid) {
- this.userid = userid;
- }
-
-
- public String getWhoIdsAm() {
- return whoIdsAm;
- }
- public void setWhoIdsAm(String whoIdsAm) {
- this.whoIdsAm = whoIdsAm;
- }
- public String getWhoNamesAm() {
- return whoNamesAm;
- }
- public void setWhoNamesAm(String whoNamesAm) {
- this.whoNamesAm = whoNamesAm;
- }
- public String getWhereAm() {
- return whereAm;
- }
- public void setWhereAm(String whereAm) {
- this.whereAm = whereAm;
- }
- public String getRemarkAm() {
- return remarkAm;
- }
- public void setRemarkAm(String remarkAm) {
- this.remarkAm = remarkAm;
- }
- public String getWhoIdsPm() {
- return whoIdsPm;
- }
- public void setWhoIdsPm(String whoIdsPm) {
- this.whoIdsPm = whoIdsPm;
- }
- public String getWhoNamesPm() {
- return whoNamesPm;
- }
- public void setWhoNamesPm(String whoNamesPm) {
- this.whoNamesPm = whoNamesPm;
- }
- public String getWherePm() {
- return wherePm;
- }
- public void setWherePm(String wherePm) {
- this.wherePm = wherePm;
- }
- public String getRemarkPm() {
- return remarkPm;
- }
- public void setRemarkPm(String remarkPm) {
- this.remarkPm = remarkPm;
- }
- /**
- * 显示的顺序,越小越靠前显示
- * @return
- */
- public int getShowIndex() {
- return showIndex;
- }
- public void setShowIndex(int showIndex) {
- this.showIndex = showIndex;
- }
- public Date getDate() {
- return date;
- }
- public void setDate(Date date) {
- this.date = date;
- }
- public String getWeekDay() {
- return weekDay;
- }
- public void setWeekDay(String weekDay) {
- this.weekDay = weekDay;
- }
- public String getWhatAm() {
- return whatAm;
- }
- public void setWhatAm(String whatAm) {
- this.whatAm = whatAm;
- }
- public String getWhatPm() {
- return whatPm;
- }
-
-
- public String getWhatAmZjl() {
- return whatAmZjl;
- }
- public void setWhatAmZjl(String whatAmZjl) {
- this.whatAmZjl = whatAmZjl;
- }
- public String getWhatPmZjl() {
- return whatPmZjl;
- }
- public void setWhatPmZjl(String whatPmZjl) {
- this.whatPmZjl = whatPmZjl;
- }
- public void setWhatPm(String whatPm) {
- this.whatPm = whatPm;
- }
- /* (non-Javadoc)
- * @see java.lang.Comparable#compareTo(java.lang.Object)
- */
- @Override
- public int compareTo(WeeklyScheduleDayDto other) {
- if(Globals.BOSS_ID.equals(this.getUserid())){
- return -1;
- }
- if(Globals.BOSS_ID.equals(other.getUserid())){
- return 1;
- }
- return this.getShowIndex()-other.getShowIndex();
- }
-
-
-
-
-
- }
|